{$formStart}
<input type="hidden" name="id" value="{$template.id}" />
<table>
    <tr>
        <th colspan="2">{$editTemplateForm}</th>
    </tr>
    <tr>
        <td>{$subject}</td>
        <td><input type="text" name="subject" value="{$template.subject}" /></td>
    </tr>
    <tr>
        <td colspan="2">{$header}<br />
        <textarea name="header" cols="80" rows="10">{$template.header}</textarea></td>
    </tr>
    <tr>
        <td colspan="2">{$footer}<br />
        <textarea name="footer" cols="80" rows="10">{$template.footer}</textarea></td>
    </tr>
    <tr>
        <td colspan="2"><input type="submit" value="{$save}" /></td>
    </tr>
</table>
</form>